<template>
	<view class="saoBox">
		<mumu-one-code @success='handlerSuccess' definition></mumu-one-code>

	</view>
</template>

<script>
	import MumuOneCode from '@/uni_modules/mumu-oneCode/components/mumu-oneCode/mumu-oneCode.vue'
	
	export default {
		components: { MumuOneCode },
		data() {
			return {
			}
		},
		
		onLoad() {
			
		},
		methods: {
			handlerSuccess(code) {
				uni.showModal({
					content: code
				}).then(res => {
					window.location.reload();
					/* uni.navigateBack() */
				})
			},
			
		}
	}
</script>

<style lang='scss' scoped>
page{
	padding-top: 100rpx;
}
</style>
